Device authentication and secure channel management for peer-to-peer initiated communications

ABSTRACT

A method and system for providing secure access to a device initiating communications using a peer-to-peer signaling protocol, such as a SIP or H.323. In a device registration phase, the device contacts a secure access server, and authenticates to the secure access server by providing an identification, such as its factory ID. The secure access server then issues a device ID and private key to the authenticated device. A client can then initiate a further communication session and be authenticated by the secure access server. The secure access server returns the device identification and the device&#39;s public key to the client. The client and device can then perform a symmetrical key exchange for their current communication session, and can communicate with appropriate encryption. The device&#39;s private key can be set to expire after one or more uses.

FIELD OF THE INVENTION

The present invention relates generally to establishing secure communication channels. More particularly, the present invention relates to providing authentication and security for communications between devices communicating across an Internet Protocol (IP) network using a Session Initiation Protocol (SIP).

BACKGROUND OF THE INVENTION

Session Initiation Protocol (SIP) is an Internet Engineering Task Force (IETF) peer-to-peer, signaling protocol that facilitates openness, connectivity, choice and personalization. Initially designed to support multicast applications, the simplicity, power and extensibility of SIP have lead to its rapid adoption for other uses, notably Voice over Internet Protocol (VoIP), and Instant Messaging (IM). SIP can set up and manage communication sessions, regardless of the media type (e.g. voice, text, video, or data). In addition to voice communication features, SIP enables new services that are difficult or impossible to provide in traditional telephony-centric systems, such as presence; mobility; user-defined personalized services; instant multimedia communications; advanced multimedia conferencing; and multiple devices. Due to its ease of use and platform-independent nature, more devices, such as video surveillance cameras, are now SIP-based and can be accessed over the Internet.

A SIP-based video surveillance system can include many cameras distributed over a wide geographic area. In order to effect surveillance, cameras must by queried or polled by a user or client to retrieve video and other information. The cameras should only be accessible to authorized users; therefore, it is desirable to provide secure communication channels over which a user can access one of more cameras or other devices. Due to the large amount of video and other data that it may be necessary to transmit, it is also desirable that the secure communication channel permit high-bandwidth communications. A disadvantage of SIP is its inherent lack of authentication and security features. Public key, symmetric key and other security methods have been proposed, but all suffer disadvantages, particularly when used with always-on type devices, such as video surveillance cameras.

Public key, or asymmetric key, cryptography allows users and devices to communicate securely without having prior access to a shared secret key. This is achieved by providing a pair of cryptographic keys, designated as a public key and a private key, which are related mathematically. In public key cryptography, the private key is generally kept secret, while the public key can be widely distributed. In a general sense, one key locks a lock; while the other is required to unlock it. There are many forms of public key cryptography, such as public key encryption and public key digital signing. Digital certificates and public key infrastructure (PKI) technologies are two public key technologies that provide authentication and strong data encryption, and are commonly employed for secure transmission between two endpoints. However, they are computationally intensive and relatively slow. In addition, they are cumbersome to manage, since the public and private key pairs or digital certificates must be generated and stored for every device. The keys or digital certificates must also be regularly updated if they are not to be maliciously intercepted and broken.

Symmetric key systems are much less computationally expensive than asymmetric key systems. In practice, an asymmetric key algorithm is hundreds or thousands of times slower than a symmetric key algorithm. Symmetric key systems use related cryptographic keys for both decryption and encryption. The encryption key is trivially related to the decryption key, in that it may be identical or there is a simple transform to go between the two keys. The keys, in practice, represent a shared secret between two or more parties that can be used to maintain a private information link. Other terms for symmetric key encryption include single-key, one-key and private-key encryption (which should not be confused with the private key in public key cryptography). Symmetric key algorithms can be divided into stream ciphers and block ciphers. The Advanced Encryption Standard (AES) algorithm, which encrypts data as 128-bit blocks, is a commonly used symmetric block cipher. Other examples of symmetric key algorithms include Twofish, Serpent, Blowfish, CAST5, RC4, TDES, and IDEA. However, a disadvantage of symmetric key algorithms is the requirement of a shared secret key, with one copy at each end. Since keys are subject to potential discovery by a cryptographic adversary, they need to be changed frequently and kept secure during distribution and in service. The consequent requirement to choose, distribute and store keys without error and without loss, known as key management, can also be difficult to reliably achieve. In addition, symmetric key algorithms cannot be used for authentication or non-repudiation purposes.

It is, therefore, desirable to provide a fast, scalable, and less computationally intensive system and method to authenticate, and provide a secure communication channel between, devices initiating communications according to a peer-to-peer signaling protocol, such as SIP.

SUMMARY OF THE INVENTION

In a first aspect, the present invention provides a method of establishing a secure communication channel between devices in an Internet Protocol (IP) network. The method comprises providing a private key to an authenticated device, in session established in accordance with a peer-to-peer signaling protocol. In a further session established in accordance with the peer-to-peer signaling protocol, a complimentary public key is provided to an authenticated client requesting secure access to the device. The private key and complimentary public key permit a key exchange between the authenticated device and the authenticated client, to establish the secure communication channel therebetween.

According to embodiments, the method can further comprise generating the private key and the complimentary public key. Generating the private key and the complimentary public key can comprise generating asymmetric private and public keys. The method can also comprise authenticating a device to provide the authenticated device, and authenticating a client to provide the authenticated client. The step of permitting the key exchange can comprise permitting a symmetric key exchange between the authenticated device and the authenticated client, such as to establish an Advanced Encryption Standard (AES) tunnel or a high-bandwidth secure communication tunnel. The method can further comprise providing a new private key to the authenticated device upon expiry of the private key, where the expiry occurs at the end of the further communication session or periodically.

In a further aspect, the present invention provides a method of securely accessing a device in a communication session established according to a peer-to-peer signaling protocol. The method comprises initiating a communication session with a secure access server in accordance with the peer-to-peer signaling protocol. The secure access server is then authenticated, and a public key for the device is retrieved from the secure access server. A further communication session is then initiated with the device in accordance with a peer-to-peer signaling protocol, and a key exchange is performed with the device using the public key to establish a secure communication channel with the device.

According to embodiments of the method, authenticating to the secure access server can comprise providing an encrypted user identification and device identification to the secure access server. Providing the encrypted user identification and SIP device identification to the secure access server can comprise encrypting the user identification and SIP device identification with a public key associated to the secure access server. Performing the key exchange with the device can comprise performing a symmetric key exchange to establish, for example, an AES tunnel or a high-bandwidth secure communication channel with the device.

In a further aspect, the present invention provides a method for providing authentication of, and secure communication between, devices communicating over an IP network according to a peer-to-peer signaling protocol. The method comprises authenticating a device agent and providing it with a private key. A client agent is then authenticated and provided with a public key, complimentary to the private key. In a communication session established between the client agent and the device agent according to the peer-to-peer signaling protocol, an encrypted key exchange is performed to establish a secure tunnel therebetween.

According to an embodiment, authenticating the device agent can comprise establishing a communication session between the device agent and a secure access server, in accordance with the peer-to-peer signaling protocol. The symmetric key exchange is then performed to provide a symmetric key to the device agent and the secure access server. The device agent is then authenticated on receipt of a device identification encrypted with the symmetric key. Private and public keys are then generated in response to successful authentication of the device agent; and the private key, encrypted in accordance with the symmetric key, is provided to the device agent. Authenticating the client agent can comprise establishing a communication session between the client agent and a secure access server, according to the peer-to-peer signaling protocol, then authenticating the client agent on receipt of a user identification and a device identification encrypted with a public key associated to the secure access server; and providing the public key, encrypted with a client public key, to the client agent.

According to further embodiments, the method can further comprise re-authenticating the device agent and providing it with a new private key upon expiry of the private key, such as at the end of the communication session established between the device agent and the client agent or periodically. The encrypted key exchange can comprise a symmetric key exchange, such as for establishing an AES tunnel or a high-bandwidth communication tunnel.

In a further aspect, the present invention provides a system for providing secure communication between devices initiating communication over an IP network according to a peer-to-peer signaling protocol. The system comprises a secure access server communicating with the devices via a server connected to the IP network. The secure access server has an authenticator to authenticate the devices and a key generation module to generate complimentary asymmetric public and private keys in response to authentication of a device agent to the secure access server and to provide the private key to the device agent. The system further comprises a client agent authenticated to, and provided with the public key by, the secure access server. The client agent is for initiating a communication session with the device agent and, using the public key, performing a further key exchange therewith to establish a secure communication tunnel.

According to embodiments, the secure access server can be encompassed within an authentication system, such as an authentication, authorization and accounting (AAA) server. The further key exchange can comprise a symmetric key exchange. The secure communication tunnel can be an AES tunnel or other high-bandwidth secure communication tunnel. The devices can be SIP-based devices and the peer-to-peer signaling protocol SIP, or they can be H.323-based devices and the peer-to-peer signaling protocol H.323.

According to yet another aspect, the present invention provides a system for authenticating devices and establishing a secure communication tunnel between them. The system comprises a server in communication with a public Internet Protocol (IP) network; a secure access server in communication with the server; a device agent, in communication with the server according to a peer-to-peer signaling protocol, to authenticate itself to the secure access server and to receive a private key from the secure access server; and a client agent, in communication with the server according to the peer-to-peer signaling protocol, to authenticate itself to the secure access server, to receive a complimentary public key from the secure access server, and, using the public key, performing a further key exchange with the device agent to establish a secure communication tunnel.

According to embodiments, the secure access server can be encompassed within an authentication system, such as an authentication, authorization and accounting (AAA) server. The secure access server can comprise an authenticator to authenticate the device agent and the client agent, and a key generation module to generate the private and public keys. The further key exchange can comprise a symmetric key exchange. The secure communication tunnel can be an AES tunnel or other high-bandwidth secure communication tunnel.

According to each aspect of the present invention, the peer-to-peer signaling protocol can be Session Initiation Protocol (SIP) or H.323.

Other aspects and features of the present invention will become apparent to those ordinarily skilled in the art upon review of the following description of specific embodiments of the invention in conjunction with the accompanying figures.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the present invention will now be described, by way of example only, with reference to the attached Figures, wherein:

FIG. 1 shows a conventional SIP architecture;

FIG. 2 shows a secure SIP architecture for providing authentication and secure access;

FIG. 3 is a flow chart of a method for enabling secure access between a user and a device;

FIGS. 4 a and 4 b are a flow chart of a method for device registration to a secure access server;

FIG. 5 is a flow chart of a method for client authentication to a secure access server; and

FIGS. 6 a and 6 b are a flow chart of a method for client access to a device after authentication to a secure access server.

DETAILED DESCRIPTION

Generally, according to non-limiting embodiments, the present invention provides a method and system for providing secure access to a device initiating communications using a peer-to-peer signaling protocol, such as a Session Initiation Protocol (SIP) or H.323. In a device registration phase, the device contacts a secure access server (SAS), via a server connected to an Internet Protocol (IP) network, and authenticates to the SAS by providing a registration identification (ID), such as its factory ID. The SAS then issues a device ID and private key to the authenticated device. When a user, or client, wishes to contact the device, the client initiates a further communication session and is authenticated by the SAS. The SAS returns the device identification and the device's public key to the client. The client and device can then perform a symmetrical key exchange for their current communication session, and can communicate with appropriate encryption. The device's private key can be set to expire after one or more uses, at which time the device can request, or be provided with, a new private key.

FIG. 1 depicts a SIP-based architecture. A calling party 10, here termed the client, and a called party 12, here termed the device, are shown. User agents, termed here the client agent 14 and device agent 16, respectively, are the respective endpoints in the SIP network. User agents, such as the client agent 14 and device agent 16, are software entities resident on, and controlling, hardware devices that can include: SIP phones (hard sets), laptop and desktop computers or PDAs with a SIP client (e.g., softphone), media gateways (e.g. T1/E1 gateway), access gateways (e.g., FAX gateway), conferencing systems, and other IP-enabled devices, such as surveillance cameras. While the present invention will be described with relation to SIP-based clients and devices, such as SIP-based digital surveillance cameras, it will be appreciated that the invention can be applied to any communication devices initiating communications using a peer-to-peer signaling protocol, such as SIP or H.323, particularly devices that require high-bandwidth secure communication channels for efficient data retrieval, such as IP-based surveillance cameras.

The client agent 14 and device agent 16 can originate and terminate calls or media sessions (voice, video, data, etc.). The client agent 14 and device agent 16 communicate with SIP servers, such as SIP server 18, which can be any suitable computing device capable of interfacing with a packet-based network, such as a Transmission Control Protocol/Internet Protocol (TCP/IP) network 20. SIP server 18 is generally protected from unauthorized access by a firewall or other protection mechanism, such as firewall 22.

The application software embodying the user agents and the server functionality can be provided on any suitable computer-useable medium for execution by a microprocessor in the user device, such as CD-ROM, hard disk, read-only memory, or random access memory. The application software can be written in a suitable programming language, such as C++.

As is well known, a SIP server can include a number of elements, including proxy servers, redirect servers and a SIP registrar (not shown). Proxy servers perform signaling and relay functions. In other words, they determine where to send signaling messages and forward requests on behalf of a user agent. To do so, they consult appropriate databases, such as Domain Name Servers (DNS) and location servers. The SIP registrar maintains user location information in a database, and the redirect servers redirect SIP requests to other device associated to the user, as appropriate.

SIP is designed such that user agents can discover and negotiate their capabilities. There are two types of SIP messages: SIP requests and SIP responses. SIP requests include: INVITE—to initiate a session; REGISTER—to bind a permanent address to a current location; SUBSCRIBE—to subscribe to a service state change; and NOTIFY—to notify a change of service state (e.g., new voice message). SIP responses are numeric codes set out in the appropriate standards. A SIP message can also contain media session information in Session Description Protocol (SDP), which determines on what type of media (e.g. audio, video, etc.) the communication session will be realized. Once the client agent 14 and device agent 16 have successfully negotiated a session through a series of SIP requests and responses, the actual video, voice or other communication occurs over a Real-time Transport Protocol (RTP) connection set up between them.

FIG. 2 shows a secure SIP architecture in accordance with an embodiment of the present invention. In addition to the elements described above in relation to FIG. 1, the secure SIP architecture includes a SAS 24. The SAS 24 can be a standalone element, or can be part of a larger authentication system 26, and can be included in, for example, an authentication, authorization and accounting (AAA) server. Registration, or initialization, of the user or device typically involves authentication, authorization and accounting. The authentication system 26, including SAS 24, is a server application that handles user requests for access to computer resources and provides AAA services. The SAS 24 includes a key generation module 28 to generate asymmetric private and public keys, and an authenticator 30 to authenticate the client and device agents 14, 16. The key generation module 28 and the authenticator 30 are in communication with databases to store keys and authentication information, respectively. The authentication system 26 can interact, via a firewall 32, with network access and gateway servers, home and visitor location registers, and databases and directories, such as active directories, containing user information, user profiles, billing rates, etc. Common standards by which devices or applications communicate with an AAA server include the Remote Authentication Dial-In User Service (RADIUS), and RADIUS2 or DIAMETER. The authentication system 26 need not include accounting features, nor does it need to provide any management functions other than authentication. In addition, the authentication system does not need to be provided in a single server. The authentication functions can be distributed across several servers or applications, and can be wholly or partially operated by third parties distinct from the network service provider.

The client agent 14 and device agent 16 can be organized into various modules or engines, such as modules to receive and manage private and public keys, to generate and exchange symmetric keys, and encryption and decryption engines to encrypt and decrypt messages and communications in accordance with appropriate keys.

The operation of the system of FIG. 2 will now be described, with reference to FIG. 3, which is a flow chart of a method for providing secure access to an IP-enabled device according to an embodiment of the invention. In a device registration phase, the device agent initiates a SIP session with the SAS 24 (100). The device's identity is authenticated by the SAS 24 (102). The SAS 24 then provides a private key to the device agent 16 (104). When a user or client 10 wishes to access the device, the client agent 14 initiates a SIP session with the SAS 24 (106), which authenticates the client (108). The SAS 24 then provides the client agent 14 with the device ID and a public key corresponding to the device's private key (110).

The client agent 14 then initiates a SIP session with the device agent 16 (112), and an RTP connection is set up between the two agents (114). Using the private and public keys provided to them, the client agent 14 and device agent 16 then perform a further key exchange (116) to permit secure communication during the SIP session. In an embodiment, the further key exchange is a one-time symmetric key exchange that permits the client and device agents to take advantage of the greater speed of symmetric-key encryption for their communication. Once the session has ended, or at another time determined by the SAS 24, the device's private key expires (118), and the device agent 16 requests and receives a new private key from the SAS 24 (120).

FIGS. 4 a and 4 b illustrate an embodiment of a protocol for the device registration phase. On power up, reset or private key expiry, the device agent 16 transmits a SIP INVITE to the SAS's IP address (200). The SIP server 18 receives the INVITE (202), and relays it to the SAS 24 (204). The SAS 24 returns a SIP response (206) to the SIP server 18, which sets up an RTP connection between the device agent 16 and the SAS server 24 (208, 210).

The device agent 16 and SAS 24 then perform a symmetrical key exchange. The device agent 16 generates a symmetric key SYMK1 (212). The device agent randomly generates the symmetric key SYMK1 for an AES Encryption/Decryption session. SYMK1 can be 128, 192 or 256 bits long. The device agent 16 then asymmetrically encrypts the SYMK1, in accordance with its DEVICEpin, to provide an asymmetric key Enc1 (214). The device agent 14 then sends its device ID, AES information and public key Enc1 to the SAS 24 (216), which is waiting for the message (218). The SAS 24 asymmetrically decrypts the key Enc1 (220), in accordance with its SASpin, to retrieve the symmetric key SYMK1. The DEVICEpin and SASpin are vendor specific identifiers provided for all devices and SAS servers. They are typically 1024-bit RSA based public keys. Using SYMK1, the SAS 24 then encrypts a message Msg1 containing the device ID (222), and sends the message Msg1 to the device agent 16 (224), which is awaiting the message (226). The device agent 16 decrypts the message Msg1 with the symmetric key SYMK1 (228), and checks to see if the received device ID is correct (230). If the device ID is not correct, the device agent sends a negative application layer acknowledgment APPNAK and disconnects from the session (232).

If the device ID is received correctly, indicating that an AES tunnel has been correctly set up, device agent 16 requests a new private key DEVICEprv from the SAS 24 (234). If the device is in power up or initialization mode, it requests the new private key by encrypting a message Msg2, containing its DEVICEpin, power up counter, tamper counter and serial number, using the symmetric key SYMK1. If the device agent 16 is requesting a new private key to replace an expired key, it encrypts a message Msg2, containing the expired key OLDDEVICEprv, the power up counter, tamper counter and serial number, using the symmetrical key SYMK1. The device agent 16 then sends the message Msg2 to the SAS 24 (236), which is awaiting a further message (238). The SAS 24 decrypts the message Msg2 (240) using the symmetric key SYMK1 (240).

Using the device ID, the SAS then retrieves the DEVICEpin or expired key OLDDEVICEprv from a database (242), and compares the retrieved values to the value provided by the device agent 16 (244, 246). If neither the expired key nor the DEVICEpin match, the RTP connection is disconnected (248), and the session ends. If the either match, the SAS 24 generates new public and private keys (250): DEVICEpub and DEVICEprv. The device ID and private key DEVICEprv are then symmetrically encrypted in a message Msg3 (252), and returned to the device agent 16 (254). Message Msg3 can also include information related to the grant and expiry of the new private key, such as the current time, the number of hours during which the key is valid, etc. The device agent 16, which is waiting for this message (256), decrypts the message Msg3 to retrieve the device ID and new private key DEVICEprv (258). If the device ID is incorrect (260), the device agent 16 ends the connection to the SAS server 24 (262); otherwise, it activates the new private key, and sends a goodbye message to the SAS server 24 (264). On receipt of the goodbye message (266), the SAS server 24 sends an application layer acknowledgment APPACK (268), which is received by the device agent 16 (270). The registration and private key exchange session is then terminated.

FIG. 5 illustrates a protocol for authenticating a client 10 to the SAS 24 according to an embodiment of the invention. The authentication commences with the client agent 14 transmitting a SIP INVITE to the SAS's IP address (300). The SIP server 18 receives the INVITE (302), and sends it to the SAS 24 (304). The SAS 24 returns a SIP response (306) to the SIP server 18, which sets up an RTP connection between the client agent 14 and the SAS server 24 (308, 310).

The client agent 14 then generates asymmetric public and private keys: USERpub and USERprv (312), which can be, for example, 1024-bit public keys. The client agent 14, which has access to the SAS's public key SASpub, encrypts a message Msg4, containing its user ID, USERpin, public key USERpub, and the device ID of the device it with which it wishes to communicate (314). The client agent 14 then sends the message to the SAS server (316), which is awaiting a message (318). The SAS 24 decrypts the message Msg4, using its private key SASprv (320). The SAS checks to see if the device ID exists, and if the user ID and USERpin are valid (322). If the information does not check out, the SAS disconnects from the session (324).

If the information provided by the client agent 14 is valid, the SAS 24 retrieves the requested device's SIP address and public key DEVICEpub from an associated database (326). The SAS 24 then encrypts a message Msg5, containing the requested device ID, the device's SIP Address and the device's public key DEVICEpub, using the client's public key USERpub (328). Msg5 is then sent to the client agent (330), which is awaiting the message (332). On receipt, the client agent 14 decrypts the message Msg5 using its private key USERprv (334). The client agent 14 checks whether the received device ID is correct (336), and sends a negative application layer acknowledgment APPNAK if it is not (338), and disconnects the RTP Connection (340). If the device ID is correct, the client agent 14 stores the device's SIP Address and public key DEVICEpub (342). The client agent 14 is now ready to securely access the device, and sends a goodbye message to the SAS server 24 (342). On receipt of the goodbye message (344), the SAS server 24 sends an acknowledgment APPACK (346), which is received by the client agent 14 (348), thus terminating the user authentication session.

FIGS. 6 a and 6 b illustrate a protocol for providing a secure communication session between the client agent 14 and the device agent 16. The client agent 14 sends a SIP INVITE to the device's SIP Address (400), which is received by the SIP server 18 and sent to the device agent 16 (402). The device agent 16 returns a SIP response to the client agent 14 (404), via the SIP server 18 (406). A SIP RTP Connection is then established between the client and device agents 14, 16 (408, 410).

The client agent 14 and device agent 16 then perform a symmetrical key exchange, and set up an AES tunnel. The client agent 14 randomly generates a symmetric key SYMK2 (412) for an AES encryption/decryption session. SYMK2 can be 128, 192 or 256 bits long. The client agent 14 then asymmetrically encrypts the symmetric key SYMK2, in accordance with its public key DEVICEpub, to provide an asymmetric key Enc2 (414). The client agent 14 then sends its AES information and key Enc2 to the device agent 16 (416), which is waiting for a message (418). The device agent 16 asymmetrically decrypts the key Enc2 (420), in accordance with its private key DEVICEprv, to retrieve the symmetric key SYMK2. It should be noted that the encryption of the device's public key DEVICEpub ensures that it is never sent in the clear, so it is not really public.

The device agent 16 checks whether the received device ID is correct (422). If it is not, the device agent sends a negative application layer acknowledgment APPNAK and disconnects the RTP connection (424). If the device ID is correct, the device agent 16 performs AES encryption on the device ID, using the symmetric key SYMK2 (426), and sends the encrypted device ID to the client agent 14 (428), which is waiting for a further message (430). The client agent 14 then decrypts the message to retrieve the symmetric key SYMK2 (432), checks whether it is correct (434), and terminates the connection if it is not (436). Otherwise, the symmetric key is assumed to have been received correctly, and the AES tunnel is correctly set up.

Once the symmetric key exchange is successfully completed, the client and device agents 14, 16 are ready to communicate over the secure AES tunnel. In order to query the device 12, the user agent 14 fetches appropriate commands and data (438), and checks that it has not timed out, or that its buffer is full (440). The user agent 14 then encrypts a message Msg6, containing the commands and data, using the symmetric key SYMK2 (442). The encrypted message Msg6 is then sent to the device agent 16 (444), which is awaiting a packet or query from the client agent (446). The device agent 16 performs AES decryption on the message Msg6, using the SYMK2 key (448). In accordance with the decrypted commands and data, the device 12 is queried or polled (450), and an appropriate response is generated (452). Provided its transmit buffer is not full and it has not timed out (454), the response is encrypted as message Msg7, using the symmetric key SYMK2 (456), which is sent to the user agent 14 (458). The user agent 16, which is waiting for a response to its query (460), decrypts Msg7 using the symmetric key SYMK2 (462), and displays, or otherwise provides the decrypted response to the user (464).

As will be apparent to those of skill in the art, the present invention provides authentication of devices and clients operating in a SIP network, or other network employing a peer-to-peer signaling protocol, such as H.323. The use of public key cryptography permits the authentication of the devices and clients, while symmetric key cryptography permits quick and computationally light secure communications between the client and device. This can be particularly advantageous for devices, such as IP-enabled surveillance cameras, that require high-bandwidth communication channels to transmit large data volumes. The ability to have the private key issued to the device expire after one or more uses also reduces or eliminates the likelihood that the keys can be compromised.

In the preceding description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the embodiments of the invention. However, it will be apparent to one skilled in the art that these specific details are not required in order to practice the invention. In other instances, well-known electrical structures and circuits are shown in block diagram form in order not to obscure the invention. For example, specific details are not provided as to whether the embodiments of the invention described herein are implemented as a software routine, hardware circuit, firmware, or a combination thereof.

Embodiments of the invention can be represented as a software product stored in a machine-readable medium (also referred to as a computer-readable medium, a processor-readable medium, or a computer usable medium having a computer-readable program code embodied therein). The machine-readable medium can be any suitable tangible medium, including magnetic, optical, or electrical storage medium including a diskette, compact disk read only memory (CD-ROM), memory device (volatile or non-volatile), or similar storage mechanism. The machine-readable medium can contain various sets of instructions, code sequences, configuration information, or other data, which, when executed, cause a processor to perform steps in a method according to an embodiment of the invention. Those of ordinary skill in the art will appreciate that other instructions and operations necessary to implement the described invention can also be stored on the machine-readable medium. Software running from the machine-readable medium can interface with circuitry to perform the described tasks.

The above-described embodiments of the invention are intended to be examples only. Alterations, modifications and variations can be effected to the particular embodiments by those of skill in the art without departing from the scope of the invention, which is defined solely by the claims appended hereto. 

1. A method of establishing a secure communication channel between devices in an Internet Protocol (IP) network, comprising: in session established in accordance with a peer-to-peer signaling protocol, providing a private key to an authenticated device; and in a further session established in accordance with the peer-to-peer signaling protocol, providing a complimentary public key to an authenticated client requesting secure access to the device, the private key and complimentary public key permitting a key exchange between the authenticated device and the authenticated client, to establish the secure communication channel therebetween.
 2. The method of claim 1, wherein the peer-to-peer signaling protocol is Session Initiation Protocol (SIP).
 3. The method of claim 1, wherein the peer-to-peer signaling protocol is H.323.
 4. The method of claim 1, further comprising generating the private key and the complimentary public key.
 5. The method of claim 4, wherein generating the private key and the complimentary public key comprises generating asymmetric private and public keys.
 6. The method of claim 1, further comprising authenticating a device to provide the authenticated device.
 7. The method of claim 1, further comprising authenticating a client to provide the authenticated client.
 8. The method of claim 1, wherein permitting the key exchange comprises permitting a symmetric key exchange between the authenticated device and the authenticated client.
 9. The method of claim 1, wherein permitting the key exchange comprises permitting a symmetric key exchange to establish an Advanced Encryption Standard (AES) tunnel.
 10. The method of claim 1, further comprising providing a new private key to the authenticated device upon expiry of the private key.
 11. The method of claim 10, wherein expiry of the private key occurs at the end of the further session.
 12. The method of claim 10, wherein expiry of the private key occurs periodically.
 13. The method of claim 1, wherein permitting the key exchange between the authenticated device and the authenticated client comprises permitting a key exchange between the authenticated device and the authenticated client, to establish a high-bandwidth secure communication channel therebetween.
 14. A method of securely accessing a device in a communication session established according to a peer-to-peer signaling protocol, comprising: initiating a communication session with a secure access server in accordance with the peer-to-peer signaling protocol; authenticating to the secure access server; retrieving a public key for the device from the secure access server; initiating a further communication session with the device in accordance with a peer-to-peer signaling protocol; and performing a key exchange with the device using the public key to establish a secure communication channel with the device.
 15. The method of claim 14, wherein the peer-to-peer signaling protocol is SIP.
 16. The method of claim 14, wherein the peer-to-peer signaling protocol is H.323.
 17. The method of claim 14, wherein authenticating to the secure access server comprises providing an encrypted user identification and device identification to the secure access server.
 18. The method of claim 14, wherein providing the encrypted user identification and SIP device identification to the secure access server comprises encrypting the user identification and device identification with a public key associated to the secure access server.
 19. The method of claim 14, wherein performing the key exchange with the device comprises performing a symmetric key exchange.
 20. The method of claim 19, wherein performing the symmetric key exchange comprises establishing an AES tunnel.
 21. The method of claim 19, wherein performing the symmetric key exchange comprises establishing a high-bandwidth communication tunnel.
 22. The method of claim 14, wherein performing the key exchange comprises performing a key exchange with the device using the public key to establish a high-bandwidth secure communication channel with the device.
 23. A method for providing authentication of, and secure communication between, devices communicating over an IP network according to a peer-to-peer signaling protocol, comprising: authenticating a device agent and providing it with a private key; authenticating a client agent and providing it with a public key, complimentary to the private key; and in a communication session established between the client agent and the device agent according to the peer-to-peer signaling protocol, performing an encrypted key exchange to establish a secure tunnel therebetween.
 24. The method of claim 23, wherein the peer-to-peer signaling protocol is SIP.
 25. The method of claim 23, wherein the peer-to-peer signaling protocol is H.323.
 26. The method of claim 24, wherein authenticating the device agent comprises: establishing a communication session between the device agent and a secure access server, in accordance with the peer-to-peer signaling protocol; performing a symmetric key exchange to provide a symmetric key to the device agent and the secure access server; authenticating the device agent on receipt of a device identification encrypted with the symmetric key; and generating private and public keys in response to successful authentication of the device agent; and providing the private key, encrypted in accordance with the symmetric key, to the device agent.
 27. The method of claim 23, further comprising re-authenticating the device agent and providing it with a new private key upon expiry of the private key.
 28. The method of claim 27, wherein expiry of the private key occurs at the end of the SIP session established between the device agent and the client agent.
 29. The method of claim 27, wherein expiry of the private key occurs periodically.
 30. The method of claim 26, wherein authenticating the client agent comprises: establishing, according to the peer-to-peer signaling protocol, a communication session between the client agent and a secure access server; authenticating the client agent on receipt of a user identification and a device identification encrypted with a public key associated to the secure access server; and providing the public key, encrypted with a client public key, to the client agent.
 31. The method of claim 23, wherein performing the encrypted key exchange comprises performing a symmetric key exchange.
 32. The method of claim 31, wherein performing the symmetric key exchange comprises establishing an AES tunnel.
 33. A system for providing secure communication between devices initiating communication over an IP network according to a peer-to-peer signaling protocol, comprising: a secure access server communicating with the devices via a server connected to the IP network, the secure access server having an authenticator to authenticate the devices and a key generation module to generate complimentary asymmetric public and private keys in response to authentication of a device agent to the secure access server and to provide the private key to the device agent; and a client agent authenticated to, and provided with the public key by, the secure access server, the client agent for initiating a communication session with the device agent in accordance with the peer-to-peer signaling protocol, and, using the public key, performing a further key exchange therewith to establish a secure communication tunnel.
 34. The system of claim 33, wherein the secure access server is encompassed within an authentication system.
 35. The system of claim 34, wherein the authentication system is encompassed within an authentication, authorization and accounting (AAA) server.
 36. The system of claim 33, wherein the further key exchange comprises a symmetric key exchange.
 37. The system of claim 33, wherein the secure communication tunnel is an AES tunnel.
 38. The system of claim 33, wherein devices are SIP-based devices and the peer-to-peer signaling protocol is SIP.
 39. The system of claim 33, wherein the devices are H.323-based devices and the peer-to-peer signaling protocol is H.323.
 40. The system of claim 33, wherein the secure communication tunnel is a high-bandwidth secure communication tunnel.
 41. A system for authenticating devices and establishing a secure communication tunnel between them, comprising: a server in communication with a public Internet Protocol (IP) network; a secure access server in communication with the server; a device agent, in communication with the server according to a peer-to-peer signaling protocol, to authenticate itself to the secure access server and to receive a private key from the secure access server; and a client agent, in communication with the server according to the peer-to-peer signaling protocol, to authenticate itself to the secure access server, to receive a complimentary public key from the secure access server, and, using the public key, performing a further key exchange with the device agent to establish a secure communication tunnel.
 42. The system of claim 41, wherein the secure access server is encompassed within an authentication system.
 43. The system of claim 42, wherein the authentication system is encompassed within an authentication, authorization and accounting (AAA) server.
 44. The system of claim 41, wherein the secure access server comprises an authenticator to authenticate the device agent and the client agent, and a key generation module to generate the private and public keys.
 45. The system of claim 41, wherein the further key exchange comprises a symmetric key exchange.
 46. The system of claim 45, wherein the secure communication tunnel is an AES tunnel.
 47. The system of claim 41, wherein the peer-to-peer signaling protocol is SIP.
 48. The system of claim 41, wherein the peer-to-peer signaling protocol is H.323.
 49. The system of claim 41, wherein the secure communication tunnel is a high-bandwidth secure communication tunnel. 